home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / wsetup20.zip / sample3.inf < prev    next >
INI File  |  1994-10-03  |  6KB  |  122 lines

  1.  
  2. ; See documentation (INSTALL.DOC) for more information about each section.
  3.  
  4. ; Basic:        General entries used when initializing program.
  5. ; MainWindow:        Options to select and anything seen in the first window.
  6. ; FileCopy:        All about file copying.
  7. ; RegistrationFiles:    Files to update registration database with.
  8. ; IniModifications:    How to modify initialization files in the Windows environment.
  9. ; PMOptions:        DDE commands to Program Manager.
  10. ; ExecuteAfterInstall:    Program to execute after installation, and its behavior.
  11.  
  12. ; Strings will be modified by the installation program if they contain the following special combination of characters.
  13.  
  14. ; [t] or [T]    Replaced with end user specified target directory
  15. ; [w] or [W]    Replaced with Windows directory
  16. ; [s] or [S]    Replaced with system directory
  17. ; [d] or [D]    Replaced with Windows drive (c:)
  18. ; [r] or [R]    Replaced with last source (read) directory
  19. ; [o] or [O]    Replaced with program option string selected by end user
  20. ; [n] or [N]    Replaced with new line, only in entry RunText and WindowText
  21. ; [q] or [Q]    Replaced with tabulation, only in entry RunText and WindowText
  22.  
  23. ;Show full screen desktop, show help, make buttons larger, and display a message at the top of the desktop.
  24.  
  25. [Basic]
  26. ShowDesktop=(3,WinSetup 2.0[n]Powerful and easy,MS Sans Serif,42,1,0,1,0)
  27. ShowHelp=1
  28. ExtraButtonWidth=10
  29. ;DebugMode=1
  30.  
  31. ; Specify text shown in main window and default target directory. Use 8 options for the end user to select.
  32.  
  33. [MainWindow]
  34. WindowTitleText=Installation Program
  35. WindowText=Please specify options for installation and the destination directory.[n]Remember to remove the entries created in the registration database, if you select this option.
  36. ExtraWindowWidth=40
  37. ExtraWindowHight=10
  38. HideBrowseButton=1
  39. ShowSourceDir=1
  40. StartDestDir=[d]\WINSETUP\
  41. 1=(Install Program,1)
  42. 2=(Install Documentation,1)
  43. 3=(Update Registration Database,0)
  44. 4=(Show Samples In Shell,1)
  45. 5=(Copy Registration Loader To System Directory,0)
  46. 6=(Save Options In CREATE.INI,1)
  47. 7=(Place information 2 times in sample 1,0) 
  48. 8=(Printout registration form,1)
  49.  
  50. ; Copy 20 files to the end user specified directory. Use to diskettes and make main program read-only, system and hidden.
  51.  
  52. ; Overwtite Action if destination file already exist in destination directory (last parameter).
  53.  
  54. ; 0 => Prompt end user to decide if the file shall be overwritten. 
  55. ; 1 => Always overwrite destination file.
  56. ; 2 => Never overwrite destination file (Skip current installation file).
  57. ; 3 => Compare version information in both files. Overwrite if able to find version information in both files.
  58. ; 4 => Compare file dates for the files. Overwrite if destination creation date is equal or lower then source creation date. 
  59. ; 5 => Append source file to end of destination file. For this action to succeed the destination file must exist.
  60.  
  61. [FileCopy]
  62. TotalPictures=2
  63. MinOptions={10000000}
  64. 1={1}(89088,[r]\install.exe,[t],Main Program,0,DISK 1,rhs)
  65. 2={1}(15966,[r]\install.hlp,[t],Help File,4,DISK 1)
  66. 3={1}(4935,[r]\install.inf,[t],Configuration,4,DISK 1)
  67. 4={1}(1026,[r]\helpdefs.h,[t],Help Defines,4,DISK 1)
  68. 5={1}(23343,[r]\install.rtf,[t],Help Text,4,DISK 1)
  69. 6={1}(765,[r]\install.hpj,[t],Help Project,4,DISK 1)
  70. 7={1}(16752,[r]\regload.exe,[t],MS Registration Loader,3,DISK 1)
  71. 8={00001}(16752,[r]\regload.exe,[s],MS Registration Loader,3,DISK 1)
  72. 9={01}(164924,[r]\install.doc,[t],Documentation,4,DISK 1)
  73. 10={01}(158116,[r]\install.bmp,[t],Desktop Bitmap,4,DISK 2)
  74. 11={01}(81078,[r]\1.bmp,[t],Copy Bitmap 1,4,DISK 2)
  75. 12={01}(40118,[r]\2.bmp,[t],Copy Bitmap 2,4,DISK 2)
  76. 13={0100001}(1583,[r]\sample1.inf,[t],Configuration Sample 1,4,DISK 2)
  77. 14={01}(4928,[r]\sample2.inf,[t],Configuration Sample 2,4,DISK 2)
  78. 15={01}(5889,[r]\sample3.inf,[t],Configuration Sample 3,4,DISK 2)
  79. 16={0000001}(1583,[r]\sample1.inf,[t],Appending Sample 1 to Sample 1,5,DISK 2)
  80. 17={01}(827,[r]\sample.reg,[t],Registration Sample,4,DISK 2)
  81. 18={01}(1920,[r]\vendor.txt,[t],Distrubution Information,2,DISK 2)
  82. 19={01}(2534,[r]\register.txt,[t],Registration Information,4,DISK 2)
  83. 20={01}(3539,[r]\readme.txt,[t],Release Notes,1,DISK 2)
  84.  
  85. ; Update the registration database with entries in the sample registration file
  86.  
  87. [RegistrationFiles]
  88. 1={001}([t]\sample.reg)
  89.  
  90. ; Create a test initialization file with all user selected options and some system options.
  91.  
  92. [IniModifications]
  93. 1={000001}([t]\create.ini,CreateTest,Modification,This was a section create test)
  94. 2={000001}([t]\create.ini,DeleteTest,Test,You should be unable to see this entry)
  95. 3={000001}([t]\create.ini,DeleteTest,Test)
  96. 4={000001}([t]\create.ini,InstallParameters,LastReadDirectory,[r])
  97. 5={000001}([t]\create.ini,InstallParameters,TargetDirectory,[t])
  98. 6={000001}([t]\create.ini,InstallParameters,OptionsSelected,[o])
  99. 7={000001}([t]\create.ini,InstallParameters,WindowsDrive,[d])
  100. 8={000001}([t]\create.ini,InstallParameters,WindowsDirectory,[w])
  101. 9={000001}([t]\create.ini,InstallParameters,SystemDirectory,[s])
  102.  
  103. ; Create a group in Windows shell and show some installed files as items in this group
  104.  
  105. [PMOptions]
  106. PMGroup=(WinSetup Installation Software)
  107. 1={10}([t]\install.exe,WinSetup 2.0 Program,[t]\install.exe,0)
  108. 2={01}([t]\install.doc,WinSetup 2.0 Documentation)
  109. 3={01}(notepad.exe [t]\readme.txt,WinSetup 2.0 Release Notes)
  110. 4={0001}(notepad.exe [t]\sample1.inf,Configuration Sample 1)
  111. 5={0001}(notepad.exe [t]\sample2.inf,Configuration Sample 2)
  112. 6={0001}(notepad.exe [t]\sample3.inf,Configuration Sample 3)
  113. 7={0001}(notepad.exe [t]\sample.reg,Registration Sample)
  114.  
  115. ; Print out the registration form and hide the normal complete installation dialog. Keep installation desktop shown, while the program is printing
  116.  
  117. [ExecuteAfterInstall]
  118. OptionsForExec={00000001}
  119. HideNormalComplete=1
  120. RunProgram=notepad.exe /p [t]\register.txt
  121. ShowDesktopDuringExec=1
  122.